package com.sys.entity;

import java.util.Date;
import com.bhudy.annotation.PrimaryKey;

/**
 * @Author 卞洪业
 * @Description SysMessage实体类
 * @Date Tue Nov 12 10:57:04 CST 2019
 */
public class SysMessage {

    @PrimaryKey
    private Long id;    //Id uuid
    private String pcContent; //PC消息通知内容，和title content不共存，这个字段有内容就不获取其他2个的内容
    private String mailContent; //邮箱消息提醒
    private String wechatTas; // 微信公众号消息提醒
    private Integer level;    //级别（1普通 2一般 3紧急）
    private Integer type;    //类型（1工单 2客户产品价格变更 3产品库存变更 4缺货工单库存补充 5其它）
    private Long sendUserId;    //发送人Id
    private String sendUserName;    //发送人名称
    private Date sendDate;    //发送时间
    private Integer receiveType;    //收信人类型（0全部，1角色，2用户）
    private Long receiveId;    //收信Id
    private String notifyTypes;    //通知类型（PC,邮件,短信,微信）
    private Integer status;    //状态（0正常 1删除 2停用 3冻结）
    private Long createBy;    //创建者
    private Date createDate;    //创建时间
    private Long updateBy;    //更新者
    private Date updateDate;    //更新时间
    private String remark;    //备注信息

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
     }

    public String getMailContent() {
        return mailContent;
    }

    public void setMailContent(String mailContent) {
        this.mailContent = mailContent;
    }

    public String getPcContent() {
        return pcContent;
    }

    public void setPcContent(String pcContent) {
        this.pcContent = pcContent;
    }

    public String getWechatTas() {
        return wechatTas;
    }

    public void setWechatTas(String wechatTas) {
        this.wechatTas = wechatTas;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
     }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
     }

    public Long getSendUserId() {
        return sendUserId;
    }

    public void setSendUserId(Long sendUserId) {
        this.sendUserId = sendUserId;
     }

    public String getSendUserName() {
        return sendUserName;
    }

    public void setSendUserName(String sendUserName) {
        this.sendUserName = sendUserName;
     }

    public Date getSendDate() {
        return sendDate;
    }

    public void setSendDate(Date sendDate) {
        this.sendDate = sendDate;
     }

    public Integer getReceiveType() {
        return receiveType;
    }

    public void setReceiveType(Integer receiveType) {
        this.receiveType = receiveType;
     }

    public Long getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(Long receiveId) {
        this.receiveId = receiveId;
     }

    public String getNotifyTypes() {
        return notifyTypes;
    }

    public void setNotifyTypes(String notifyTypes) {
        this.notifyTypes = notifyTypes;
     }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
     }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
     }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
     }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
     }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
     }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
     }

}
